import { Module } from '@nestjs/common';
import { LetterService } from './letter.service';
import { LetterController } from './letter.controller';
import { TypeOrmModule } from '@nestjs/typeorm';
import LetterEntity from 'src/entities/letter.entity';
import AccessTokenEntity from 'src/entities/access-token.entity';
import { HttpModule } from '@nestjs/axios';
import LetterViewEntity from 'src/entities/letter-view.entity';

@Module({
  imports: [
    TypeOrmModule.forFeature([
      LetterEntity,
      AccessTokenEntity,
      LetterViewEntity
    ]),
    HttpModule
  ],
  controllers: [LetterController],
  providers: [LetterService]
})
export class LetterModule {
  
}
